<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加用户</title>
    <style type="text/css">
        table{border: 1px solid #000000;
            border-collapse: collapse;
            align:center;
            margin: auto;
            vertical-align: middle;
        }
        td,th{border: 1px solid #000000;
            padding: 8px;

        }
        h2{text-align:center}

    </style>
</head>
<body>
<h2>添加用户</h2>
<form name="form1" action="userAdd.jsp" onSubmit="return check()" method="post">
    <table>
        <tr><th>编号：</th>
            <td><input type="text" name="id"></td>
        </tr>
        <tr><th>用户名：</th>
            <td><input type="text" name="userName"></td>
        </tr>
        <tr>
            <th>密码：</th>
            <td><input type="text" name="password"></td>
        </tr>
        <tr><th colspan="2">
            <input type="submit" value="添加">
            <input type="reset" value="重置"></th></tr>
    </table>
</form>

</body>
</html>